Release 10.1A: OpenEdge Development:
ADM Reference
setupTTFromString function
Function used to create a dynamics temp-table to invoke a call from a string containing the parameter definitions in the form
Parameters:modedata typeparameter.pcTableName INPUT CHARACTERName to assign the temp-table that you want to create.
pcRetValDT INPUTCHARACTERData type of the return value from the call. If left blank, the default is CHARACTER. This parameter is optional. If nothing is specified, the
""is passed.pcParamString INPUT CHARACTERA string in the form
modedata typeparameter,modedata typeparameter. The string contains the parameters you want to pass to the procedure or function that is being invoked. The string is a comma-separated list of parameters. Each parameter is in the form "modedata typeparameter" where:
modeis one of INPUT, OUTPUT, INPUT-OUTPUT, or OUTPUT-APPEND.data typeis one of CHARACTER, DATE, LOGICAL, INTEGER, DECIMAL, RAW, HANDLE, TABLE-HANDLE, or ROWID.Returns: A handle to the created temp-table. Notes:parameteris the name of either a property that was previously set using setPropertyList or setSessionParam, or a single quoted constant that does not contain spaces or commas. If you specify a property, the procedure attempts to evaluate the property value by calling getPropertyList. If no property is available, or Dynamics is not running, a call is made to getSessionParam for the property value. If neither call succeeds, the unknown value is passed.
- When the temp-table is constructed, the function attempts to find a property using getPropertyList with the same name as the parameter. If none is found, a similar attempt is made to call getSessionParam. If no properties or parameters are found in context, the initial value is set to the unknown value.
- The temp-table is created with initial values that are derived from the property values. No records are added to the temp-table. A create of a record in the table results in a record with the default values specified.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |